package com.nettryhomework;

public class RpcRequest {

    private String serviceClass;
    private String method;
    private Class<?>[] parameterTypes;
    private Object[] parameters;

    public RpcRequest(String serviceClass, String method, Class<?>[] parameterTypes, Object[] parameters) {
        this.serviceClass = serviceClass;
        this.method = method;
        this.parameterTypes = parameterTypes;
        this.parameters = parameters;
    }

    public Class<?>[] getParameterTypes() {
        return parameterTypes;
    }

    public void setParameterTypes(Class<?>[] parameterTypes) {
        this.parameterTypes = parameterTypes;
    }

    public Object[] getParameters() {
        return parameters;
    }

    public void setParameters(Object[] parameters) {
        this.parameters = parameters;
    }

    public String getServiceClass() {
        return serviceClass;
    }

    public void setServiceClass(String serviceClass) {
        this.serviceClass = serviceClass;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

}
